@import 'tailwindcss';

:root {
  --background: #ffffff;
  --foreground: #171717;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
} */

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  height: 100%;
}

body {
  background-color: #101218;
  color: #f2f4f9;
  font-family: Poppins, -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Segoe UI, Microsoft YaHei,
    Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

.ant-app {
  min-height: 100vh;
}


/* 设置根元素字体大小 */
html {
  font-size: 16px; /* 默认字体大小 */
}

/* 媒体查询，根据不同屏幕宽度调整字体大小 */
@media (max-width: 1919px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 1199px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 10px;
  }
}